package com.liukai.bishe.presenter.transactionPresenter;

import com.liukai.bishe.presenter.IBasePresenter;
import com.liukai.bishe.view.IBaseCallBack;
import com.liukai.bishe.view.IFindTransactionByUsernameCallBack;

public interface IFindTransactionByUsernamePresenter{

    /**
     * 获取该用户的所有事务
     * @param username
     */
    void getTransactionByName(String username);

    void registerCallback(IFindTransactionByUsernameCallBack iFindTransactionByUsernameCallBack);

    void unregisterCallback(IFindTransactionByUsernameCallBack iFindTransactionByUsernameCallBack);

}
